<%@ page import="com.com.atstudy.entites.Address" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.Date" %><%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2023/2/1
  Time: 9:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
  <%
      request.setAttribute("date",new Date());
      request.setAttribute("num",3.1415926);
  %>
  <h3>${date}</h3>
  <h3>
      <f:formatDate value="${date}" pattern="yyyy-MM-dd HH:mm:ss"></f:formatDate>
  </h3>
  <hr />
  <h3>${num}</h3>
  <h3>
      <f:formatNumber value="${num}" pattern="0.00"></f:formatNumber>
  </h3>
</body>
</html>
